<template>
	<view class="">
		<view class="header">
			<view class="basj">
				<image @click="gobacks" src="/static/dazi/bak.png" mode=""></image>
				<!-- <text class="title">设置</text> -->
			</view>
		</view>
		<view class="conshe">
			<view class="cosne">
				<view class="shaneb">
					邀请好友,领会员礼!
				</view>
				<view class="tegs">
					<text>每成功邀请1人,可获得1天会员卡</text>
					<text>成功邀请5人,额外增加7天会员卡</text>
				</view>
				<view class="ercos">
					二维码
				</view>
				<view class="ehay">
					<image src="/static/acti/copy-success.png" mode=""></image>
					<view class="sjan">
						复制邀请链接
					</view>
				</view>
			</view>
			<view class="kxjs">
				<view class="tish">
					邀请进度
				</view>

				<view class="jinws">
					<view class="pkse">
						<view class="pajsec">
							<image class="ansdc" src="/static/assets/dd0eea012a8ae34b33342315b7ab8fb4.png" mode="">
							</image>
							<view class="wwone">
								<image class="ejsc" src="/static/acti/ser.png" mode=""></image>
							</view>
						</view>
						<view class="pajsec">
							<image class="ansdc" src="/static/acti/sxc.png" mode=""></image>
							<view class="wwone">
								1天卡
							</view>
						</view>
						<view class="pajsec">
							<image class="ansdc" src="/static/acti/vbg.png" mode=""></image>
							<view class="wwone">
								1天卡
							</view>
						</view>
						<view class="pajsec">
							<image class="ansdc" src="/static/acti/vbg.png" mode=""></image>
							<view class="wwone">
								1天卡
							</view>
						</view>
						<view class="pajsec">
							<image class="ansdc" src="/static/acti/vbg.png" mode=""></image>
							<view class="wwone">
								1+7天卡
							</view>
						</view>
					</view>

					<view class="tisd">
						<view class="sjen"></view>
						 <view class="as2">再邀3人，可得7天周卡</view>
					</view>

				</view>

			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			gobacks() {

				// #ifdef H5
				history.back();
				// #endif

				// #ifdef APP
				uni.navigateBack()
				// #endif

			},
		}
	}
</script>

<style lang="scss">
	.tisd {
		margin: 50rpx 0;
		// padding-bottom: 30rpx;
		display: flex;
		align-items: center;
		.sjen {
			width: 10rpx;
			height: 10rpx;
			border-radius: 50%;
			background-color: #837487;
		}
		.as2{
			margin-left: 10rpx;
			color: #837487;
			font-size: 26rpx;
		}
	}

	.pkse {
		margin: 30rpx 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.ejsc {
		width: 32rpx;
		height: 32rpx;
	}

	.pajsec {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.wwone {
		margin-top: 16rpx;
		color: #C3B0C3;
		font-size: 24rpx;
	}

	.ansdc {
		width: 96rpx;
		height: 96rpx;
	}

	.kxjs {
		margin: 60rpx 0 40rpx;
	}

	.tish {
		color: #000;
		font-size: 28rpx;
		font-weight: bold;
	}

	.cosne {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.ehay {
		padding: 0 40rpx;
		background: linear-gradient(106.37deg, #FB75D6 53.75%, #B270F0 95.32%);
		border-radius: 50rpx;
		display: flex;
		height: 100rpx;
		align-items: center;
		justify-content: center;

		.sjan {
			margin-left: 16rpx;
			color: #FFFFFF;
			font-size: 32rpx;
		}

		image {
			width: 48rpx;
			height: 48rpx;
			vertical-align: middle;
		}
	}

	.ercos {
		margin: 40rpx 0 60rpx;
		width: 400rpx;
		height: 400rpx;
		border: 2px solid #FF9AE966;
		border-radius: 50rpx;
		display: flex;
		align-items: center;
		justify-content: center;

	}

	.tegs {
		margin: 30rpx 0;

		text {
			line-height: 1.7;
			display: block;
			color: #837487;
			font-size: 26rpx;
		}
	}

	.shaneb {
		color: #B270F0;
		font-weight: 700;
		font-size: 48rpx
	}

	.conshe {
		margin: 60rpx 0;
	}

	page {
		padding: 30rpx;
		background-color: #fff;

		width: 100%;
		overflow-y: auto;
		overflow-x: hidden;
		height: 100%;
	}

	.basj {
		display: flex;
		align-items: center;
		height: 60rpx;

		image {
			width: 48rpx;
			height: 48rpx;
			vertical-align: middle;
		}

		.title {
			margin-left: 10rpx;
			color: #2A222F;
			font-size: 40rpx;
		}
	}

	.header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 60rpx;

		letter-spacing: 2rpx;
		/* 字母间距 */
		font-weight: 600;
		// border: #dddddd solid 1px;

		.btn-side {
			position: absolute;
			line-height: 60rpx;
			font-size: 28rpx;
			cursor: pointer;

			&.right {
				right: 30rpx;
			}
		}
	}
</style>